package org.example.javaweb.entity;

public class Name {
    int id;
    String equipment_name;
    int totalNumber;
    int remainderNumber;


    public Name() {
    }

    public Name(int id, String equipment_name, int totalNumber, int remainderNumber) {
        this.id = id;
        this.equipment_name = equipment_name;
        this.totalNumber = totalNumber;
        this.remainderNumber = remainderNumber;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return equipment_name
     */
    public String getEquipment_name() {
        return equipment_name;
    }

    /**
     * 设置
     * @param equipment_name
     */
    public void setEquipment_name(String equipment_name) {
        this.equipment_name = equipment_name;
    }

    /**
     * 获取
     * @return totalNumber
     */
    public int getTotalNumber() {
        return totalNumber;
    }

    /**
     * 设置
     * @param totalNumber
     */
    public void setTotalNumber(int totalNumber) {
        this.totalNumber = totalNumber;
    }

    /**
     * 获取
     * @return remainderNumber
     */
    public int getRemainderNumber() {
        return remainderNumber;
    }

    /**
     * 设置
     * @param remainderNumber
     */
    public void setRemainderNumber(int remainderNumber) {
        this.remainderNumber = remainderNumber;
    }

    public String toString() {
        return "name{id = " + id + ", equipment_name = " + equipment_name + ", totalNumber = " + totalNumber + ", remainderNumber = " + remainderNumber + "}";
    }
}
